Dsl

class Dsl

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class GeometryProxy : DslProxy

An uninstantiable, behaviorless type to represent the field in generics.

Link copied to clipboard
class TagsProxy : DslProxy

An uninstantiable, behaviorless type to represent the field in generics.

Properties

Link copied to clipboard
Contains a stream of commands and parameters (vertices).
A detailed description on geometry encoding is located in
section 4.3 of the specification.
Link copied to clipboard
@get:JvmName(name = "getId")
@set:JvmName(name = "setId")
var id: Long

optional uint64 id = 1 default = 0;

Link copied to clipboard
Tags of this feature are encoded as repeated pairs of
integers.
A detailed description of tags is located in sections
4.2 and 4.4 of the specification
Link copied to clipboard
@get:JvmName(name = "getType")
@set:JvmName(name = "setType")
var type: VectorTile.Tile.GeomType

optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];

Functions

Link copied to clipboard
@JvmName(name = "addGeometry")
fun DslList<Int, TileKt.FeatureKt.Dsl.GeometryProxy>.add(value: Int)

repeated uint32 geometry = 4 [packed = true];

@JvmName(name = "addTags")
fun DslList<Int, TileKt.FeatureKt.Dsl.TagsProxy>.add(value: Int)

repeated uint32 tags = 2 [packed = true];

Link copied to clipboard
@JvmName(name = "addAllGeometry")
fun DslList<Int, TileKt.FeatureKt.Dsl.GeometryProxy>.addAll(values: Iterable<Int>)

repeated uint32 geometry = 4 [packed = true];

@JvmName(name = "addAllTags")
fun DslList<Int, TileKt.FeatureKt.Dsl.TagsProxy>.addAll(values: Iterable<Int>)

repeated uint32 tags = 2 [packed = true];

Link copied to clipboard
@JvmName(name = "clearGeometry")
fun DslList<Int, TileKt.FeatureKt.Dsl.GeometryProxy>.clear()

repeated uint32 geometry = 4 [packed = true];

@JvmName(name = "clearTags")
fun DslList<Int, TileKt.FeatureKt.Dsl.TagsProxy>.clear()

repeated uint32 tags = 2 [packed = true];

Link copied to clipboard
fun clearId()

optional uint64 id = 1 [default = 0];

Link copied to clipboard
fun clearType()

optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];

Link copied to clipboard
fun hasId(): Boolean

optional uint64 id = 1 [default = 0];

Link copied to clipboard

optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];

Link copied to clipboard
@JvmName(name = "plusAssignGeometry")
inline operator fun DslList<Int, TileKt.FeatureKt.Dsl.GeometryProxy>.plusAssign(value: Int)
@JvmName(name = "plusAssignAllGeometry")
inline operator fun DslList<Int, TileKt.FeatureKt.Dsl.GeometryProxy>.plusAssign(values: Iterable<Int>)

repeated uint32 geometry = 4 [packed = true];

@JvmName(name = "plusAssignTags")
inline operator fun DslList<Int, TileKt.FeatureKt.Dsl.TagsProxy>.plusAssign(value: Int)
@JvmName(name = "plusAssignAllTags")
inline operator fun DslList<Int, TileKt.FeatureKt.Dsl.TagsProxy>.plusAssign(values: Iterable<Int>)

repeated uint32 tags = 2 [packed = true];

Link copied to clipboard
@JvmName(name = "setGeometry")
operator fun DslList<Int, TileKt.FeatureKt.Dsl.GeometryProxy>.set(index: Int, value: Int)

repeated uint32 geometry = 4 [packed = true];

@JvmName(name = "setTags")
operator fun DslList<Int, TileKt.FeatureKt.Dsl.TagsProxy>.set(index: Int, value: Int)

repeated uint32 tags = 2 [packed = true];